<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2021/10/30
 * Time: 14:05
 */

namespace app\MAPP\shop\mode\buy;


use core\lib\BaseControlerDB;
use core\lib\Config;
use function core\p;

class func extends BaseControlerDB
{
    var $conf;
    function __USERFUNC()
    {
        $this->conf = Config::all("SQLlib\\shoping\\sql");
    }

    function buyselect($li){
        foreach ($li as $k=>$v){
            if (!is_numeric($v))continue;
            $this->db->pre_exec($this->conf["BUY_SELECT"],[1,$k,$v]);
            $n = new \app\MAPP\shop\mode\lists\func();
            $n->delocar($k);
        }
    }

    function buylist(){

    }
}